package Utils;

public class EnsureDataUtil {

	public static boolean ensureNotEmptyData(Object data, Object pwd) {
        if (data == null || pwd == null){
            return false;
        } else if (data instanceof String && ((String) data).trim().isEmpty()) {
            return false;
        }else if(pwd instanceof String && ((String) data).trim().isEmpty()) {
        	return false;
        }
        return true;
    }
}
